export  default (e)=>{
    let date = new Date(e);
    // y
    let y = date.getFullYear()
    // m
    let m = (date.getMonth()+1+'').padStart(2,'0');
    // d
    let d = (date.getDate()+'').padStart(2,'0');
    return `${y}-${m}-${d}`
}